package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Carouselmap;
import org.hxyjs.entity.CarouselmapExample;

public interface CarouselmapMapper {
    long countByExample(CarouselmapExample example);

    int deleteByExample(CarouselmapExample example);

    int deleteByPrimaryKey(String cmno);

    int insert(Carouselmap record);

    int insertSelective(Carouselmap record);

    List<Carouselmap> selectByExample(CarouselmapExample example);

    Carouselmap selectByPrimaryKey(String cmno);

    String getMaxCmno();

    List<Carouselmap> getCarouselmapByPage(Map map);

    List<Carouselmap> selectByNno(String nno);

    int updateByExampleSelective(@Param("record") Carouselmap record, @Param("example") CarouselmapExample example);

    int updateByExample(@Param("record") Carouselmap record, @Param("example") CarouselmapExample example);

    int updateByPrimaryKeySelective(Carouselmap record);

    int updateByPrimaryKey(Carouselmap record);
}